package com.nodity.gui;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Rectangle;

public class RectangleAvatar extends AbstractVectorGFX{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	Rectangle rect=new Rectangle();
	Color color;
	
	public RectangleAvatar(Rectangle r,Color c){
		color=c;
		rect=r;
		
	}
	
	public void repaint(Graphics g){
		g.setColor(color);
		g.fillRect(rect.x, rect.y, rect.width, rect.height);
	}

}
